package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ZhwyChargeTjHouseMapper;
import com.ruoyi.system.domain.ZhwyChargeTjHouse;
import com.ruoyi.system.service.IZhwyChargeTjHouseService;

/**
 * 收费统计商铺12Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-05-10
 */


//
@Service
public class ZhwyChargeTjHouseServiceImpl implements IZhwyChargeTjHouseService 
{
    @Autowired
    private ZhwyChargeTjHouseMapper zhwyChargeTjHouseMapper;

    /**
     * 查询收费统计商铺12
     * 
     * @param id 收费统计商铺12主键
     * @return 收费统计商铺12
     */
    @Override
    public ZhwyChargeTjHouse selectZhwyChargeTjHouseById(Long id)
    {
        return zhwyChargeTjHouseMapper.selectZhwyChargeTjHouseById(id);
    }

    /**
     * 查询收费统计商铺12列表
     * 
     * @param zhwyChargeTjHouse 收费统计商铺12
     * @return 收费统计商铺12
     */
    @Override
    public List<ZhwyChargeTjHouse> selectZhwyChargeTjHouseList(ZhwyChargeTjHouse zhwyChargeTjHouse)
    {
        return zhwyChargeTjHouseMapper.selectZhwyChargeTjHouseList(zhwyChargeTjHouse);
    }

    /**
     * 新增收费统计商铺12
     * 
     * @param zhwyChargeTjHouse 收费统计商铺12
     * @return 结果
     */
    @Override
    public int insertZhwyChargeTjHouse(ZhwyChargeTjHouse zhwyChargeTjHouse)
    {
        return zhwyChargeTjHouseMapper.insertZhwyChargeTjHouse(zhwyChargeTjHouse);
    }

    /**
     * 修改收费统计商铺12
     * 
     * @param zhwyChargeTjHouse 收费统计商铺12
     * @return 结果
     */
    @Override
    public int updateZhwyChargeTjHouse(ZhwyChargeTjHouse zhwyChargeTjHouse)
    {
        return zhwyChargeTjHouseMapper.updateZhwyChargeTjHouse(zhwyChargeTjHouse);
    }

    /**
     * 批量删除收费统计商铺12
     * 
     * @param ids 需要删除的收费统计商铺12主键
     * @return 结果
     */
    @Override
    public int deleteZhwyChargeTjHouseByIds(Long[] ids)
    {
        return zhwyChargeTjHouseMapper.deleteZhwyChargeTjHouseByIds(ids);
    }

    /**
     * 删除收费统计商铺12信息
     * 
     * @param id 收费统计商铺12主键
     * @return 结果
     */
    @Override
    public int deleteZhwyChargeTjHouseById(Long id)
    {
        return zhwyChargeTjHouseMapper.deleteZhwyChargeTjHouseById(id);
    }
}
